Ansible – Get the IP address of another host from the hosts file

An example of how to get the IP address of another host from the “hosts” file by performing a task on another host.   server1 – our Playbook will be executed on it server2 – we need its IP address in the Playbook   hosts:   In order to get the IP address, we will … Continue reading Ansible – Get the IP address of another host from the hosts file